/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.bda.mediatheque.service;

import com.bda.mediatheque.entities.Panier;
import java.util.List;

/**
 *
 * @author samsung
 */
public class ImplPanierDao extends ImplJpaDao<Integer,Panier> implements IPanierDao {
    @Override
    public List<Panier> fullListPanier() {
        return entityManager.createQuery("select p from "+ entityClass.getSimpleName()+" p WHERE etat = 1").getResultList();
    }
}
